# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Kritoke <typeolinux@yahoo.com>

pkgname=libglademm
pkgver=2.6.7
pkgrel=4
pkgdesc="A C++ wrapper for libglade."
arch=('i686' 'x86_64')
url="http://gtkmm.sourceforge.net/"
license=('LGPL')
depends=('libglade>=2.6.3' 'gtkmm>=2.14.1')
makedepends=('pkgconfig')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f9ca5b67f6c551ea98790ab5f21c19d0')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  CXXFLAGS+=' -std=c++11'
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
